package org.wyl.service.impl;

import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.stereotype.Service;
import org.wyl.vo.GoodVo;

/**
 * @author 吴宇亮 on 2022/2/17 15:43
 */
// 可以同时注入spring和dubbo
@DubboService(version = "1.0")
//@Service("goodService")
public class GoodServiceImpl implements GoodService{

    public GoodVo getById(String id) {
        GoodVo vo = new GoodVo();
        vo.setId("uuid");
        vo.setName("我是商品_苹果");
        return vo;
    }

}
